<include file="Public:header" />
<script type="text/javascript" src="__PUBLIC__/Js/jquery.min.js"></script>
<div class="ncenter_box">
<div class="accounttitle"><h1>参数设置 </h1></div>
<form method='post' id="myform" action="__URL__/setParameterSave" >
<table width="100%" cellpadding=3 cellspacing=0 border=0 id="tb1" class="tab4">
<tr class="content_td">
                <td width="15%" >&nbsp;</td>
                <td width="85%">&nbsp;</td>
</tr>
<!--<tr>-->
    <!--<td align="right">手动分红：</td>-->
    <!--<td class="center">-->
        <!--<span onclick="jiesuan();" style="border:1px solid #000;border-radius:5px;cursor: pointer">立即分红</span>-->
    <!--</td>-->
<!--</tr>-->
<!--<tr>-->
    <!--<td align="right">撤消今天分红：</td>-->
    <!--<td class="center">-->
        <!--<span onclick="return_jiesuan();" style="border:1px solid #000;border-radius:5px;cursor: pointer">撤消分红</span>-->
    <!--</td>-->
<!--</tr>-->
<tr style="display: none;">
    <td align="right">特殊帐号：</td>
    <td class="center">
        帐号<input name="set_rem" type="text" id="aaa" value="" size="50" style="width:8%;" maxlength="10" />&nbsp;&nbsp;&nbsp;&nbsp;
        推荐人数<input name="set_rem" type="text" id="bbb" value="" size="50"style="width:5%;" maxlength="80" />
        <span onclick="set_renums();" style="border:1px solid #000;border-radius:5px;cursor: pointer">立即修改</span>(设置推荐人数以达到25层)
    </td>
</tr>
<tr>
				<td align="right">级别：</td>
				<td class="center"><input name="s10" type="text" id="s10" value="{$fee_s10}" size="50" maxlength="80" />
                用|分割</td>
</tr>
<tr>
				<td align="right">投资金额：</td>
				<td class="center"><input name="s9" type="text" id="s9" value="{$fee_s9}" size="50" maxlength="80" />
                元 用|分割</td>
</tr>
<tr>
				<td align="right">级别单数：</td>
				<td class="center"><input name="s2" type="text" id="s2" value="{$fee_s2}" size="50" maxlength="80" />
                单 用|分割</td>
</tr>
<tr>
				<td align="right">每天分红</td>
				<td class="center"><input name="s1" type="text" id="s1" value="{$fee_s1}" size="50" maxlength="80" />
                元</td>
</tr>

<tr>
				<td align="right">推荐奖：</td>
				<td class="center"><input name="s4" type="text" id="s4" value="{$fee_s4}" size="50" maxlength="80" />百分比</td>
</tr>
<tr>
                <td align="right">推荐-代数：</td>
                <td class="center"><input name="s6" type="text" id="s6" value="{$fee_s6}" size="50" maxlength="80" />
                    用|分割(1-2|2-3|3-10表示推荐1单拿2代，推荐2单拿3代，推荐3单拿10代)</td>
</tr>
<tr>
				<td align="right">各代数奖励：</td>
				<td class="center"><input name="s5" type="text" id="s5" value="{$fee_s5}" size="50" maxlength="800" />
                元</td>
</tr>
<tr>
                <td align="right">报单费：</td>
                <td class="center"><input name="s12" type="text" id="s12" value="{$fee_s12}" size="8" maxlength="50" />
                    百分比</td>
</tr>
<tr>
				<td align="right">分红天数：</td>
				<td class="center"><input name="s11" type="text" id="s11" value="{$fee_s11}" size="50" maxlength="80" />
                天</td>
</tr>
<tr style="display: none">
                <td align="right">静态封顶阀值：</td>
                <td class="center"><input name="s7" type="text" id="s7" value="{$fee_s7}" size="50" maxlength="80" />元
                    用|分割 </td>
</tr>

<tr  style="display: none;">
				<td align="right">静态分红分界点：</td>
				<td class="center"><input name="str16" type="text" id="str16" value="{$fee_str16}" size="50" maxlength="80" />
                  元</td>
</tr>
<tr>
				<td align="right">提前提醒：</td>
				<td class="center"><input name="s14" type="text" id="s14" value="{$fee_s14}" size="50" maxlength="80" />
                天 </td>
</tr>
<tr>
				<td align="right">商户号：</td>
				<td class="center"><input name="s13" type="text" id="s13" value="{$fee_s13}" size="50" maxlength="80" />
                </td>
</tr>
<tr>
				<td align="right">密钥：</td>
				<td class="center"><input name="s15" type="text" id="s15" value="{$fee_s15}" size="50" maxlength="80" />
                </td>
</tr>
<tr style="display:none">
				<td align="right">税收：</td>
				<td class="center"><input name="str4" type="text" id="str4" value="{$fee_str4}" size="50" maxlength="80" />
                百分比</td>
</tr>
<tr style="display:none">
				<td align="right">网络管理费：</td>
				<td class="center"><input name="str5" type="text" id="str5" value="{$fee_str5}" size="50" maxlength="80" />
                $</td>
</tr>
<tr style="display:none">
				<td align="right">奖金收入进重复消费：</td>
				<td class="center"><input name="str9" type="text" id="str9" value="{$fee_str9}" size="50" maxlength="80" />
                百分比</td>
</tr>
<tr style="display:none;">
				<td align="right">循环分红见点奖：</td>
				<td class="center"><input name="a_money" type="text" id="a_money" value="{$a_money}" size="8" maxlength="12" />
                元</td>
</tr>
<tr style="display:none;">
				<td align="right">自我消费：</td>
				<td class="center"><input name="b_money" type="text" id="b_money" value="{$b_money}" size="8" maxlength="12" />
                元</td>
</tr>
<tr>
				<td align="right">奖名称：</td>
				<td class="center"><input name="s18" type="text" id="s18" value="{$fee_s18}" size="60" maxlength="80" /> 用| 分割</td>
</tr>
<tr>
				<td align="right">最低转帐额度：</td>
				<td class="center"><input name="str3" type="text" id="str3" value="{$fee_str3}" size="50" maxlength="80" />$
                </td>
</tr>
<tr style="display:none">
				<td align="right">客服QQ号：</td>
				<td class="center"><input name="str7" type="text" id="str7" value="{$fee_str7}" size="80" maxlength="80" /> 用| 分割</td>
</tr>
<tr style="display:none">
				<td align="right">系统货币兑换：</td>
				<td class="center">
                <input name="str10" type="text" id="str10" value="{$fee_str10}" size="4" maxlength="12" />
                进
                <input name="str11" type="text" id="str11" value="{$fee_str11}" size="4" maxlength="12" />
                出</td>
</tr>
<tr style="display: none">
				<td align="right">动态奖封顶：</td>
				<td class="center"><input name="str2" type="text" id="str2" value="{$fee_str2}" size="50" maxlength="80" />元
                </td>
</tr>
<tr>
				<td align="right">提现天数：</td>
				<td class="center"><input name="str22" id="str22" type="text" value="{$fee_str22}" size="50" maxlength="80" />
                (封闭期|隔多少天提一次|第几个交易日免手续费|最低提现额）</td>
</tr>
<tr style="display:none">
				<td align="right">首页弹窗信息提示：</td>
				<td class="center"><textarea name="str26" cols="60" rows="5" id="str26">{$fee_str26}</textarea>
                </td>
</tr>
<tr>
				<td align="right">提现手续费：</td>
				<td class="center"><input name="str6" type="text" id="str6" value="{$fee_str6}" size="50" maxlength="80" />
                </td>
</tr>
<tr>
				<td align="right">信息管理账号：</td>
				<td class="center"><input name="s8" type="text" id="s8" value="{$fee_s8}" size="8" maxlength="12" />
                </td>
</tr>
<tr>
                <td align="right">推荐奖提现：</td>
                <td class="center"><input name="s3" type="text" id="s3" value="{$fee_s3}" size="50" maxlength="80" />
                    (封闭期|隔多少天提一次|第几个交易日免手续费|最低提现额|手续费）</td>
</tr>
<tr>
                <td align="right">报单奖提现：</td>
                <td class="center"><input name="str1" type="text" id="str1" value="{$fee_str1}" size="50" maxlength="80" />
                    (封闭期|隔多少天提一次|第几个交易日免手续费|最低提现额|手续费）</td>
</tr>
<tr>
            <td colspan="3" style="height:5px;"><hr></td>
</tr>
<tr>
				<td align="right" class="tabr">允许拉取小号的最低天数：</td>
				<td class="center"><input name="str17" type="text" id="str17" value="{$fee_str17}" size="20" maxlength="99999" /><span onclick="exe_sql()">天</span>
                </td>
</tr>
<tr style="display:none;">
				<td align="right" class="tabr">第三方密钥：</td>
				<td class="center"><input name="str18" type="text" id="str18" value="{$fee_str18}" size="80" maxlength="200" />
                </td>
</tr>
<tr style="display:none;">
				<td align="right" class="tabr">第三方商户名：</td>
				<td class="center"><input name="str19" type="text" id="str19" value="{$fee_str19}" size="80" maxlength="200" />
                </td>
</tr>
<tr>
            <td colspan="3" style="height:5px;"><hr></td>
</tr>
<tr style="display:none">
    <td align="right">注册语言：</td>
    <td><span class="tLeft"><textarea name="str24" cols="60" rows="5" id="str29">{$fee_str24}</textarea>
    每个语言用|分割</span></td>
</tr>
<tr style="display:none">
    <td align="right">注册国家：</td>
    <td><span class="tLeft"><textarea name="str25" cols="60" rows="5" id="str29">{$fee_str25}</textarea>
    每个国家用|分割</span></td>
</tr>
<tr>
    <td align="right">关闭网站提示：</td>
    <td><textarea name="str27" cols="60" rows="5" id="str27">{$fee_str27}</textarea>
    （200字内）
    </td>
</tr>
<tr>
    <td align="right">开户银行：</td>
    <td><span class="tLeft"><textarea name="str29" cols="60" rows="5" id="str29">{$fee_str29}</textarea>
    每家银行间用|分割</span></td>
</tr>
<tr>
    <td align="right">汇款信息：</td>
    <td><span class="tLeft">
      <textarea name="s17" cols="60" rows="5" id="s17">{$fee_s17}</textarea>
    </span></td>
</tr>
<tr>
    <td align="right">会员注册成功信息：</td>
    <td><span class="tLeft">
      <textarea name="str28" cols="60" rows="5" id="str28">{$fee_str28}</textarea>
    </span></td>
</tr>
<tr style="display:none">
    <td align="right">密保问题：</td>
    <td><span class="tLeft">
      <textarea name="str99" cols="60" rows="6" id="str99">{$fee_str99}</textarea>
    每个问题用|分割</span></td>
</tr>
<tr>
            <td colspan="3" style="height:5px;"><hr></td>
</tr>
<tr>
  <td align="right">登录设置：</td>
  <td class="center">
  <input type="radio" name="i1" id="i1" value="0" <eq name="fee_i1" value="0">checked</eq>  class="ipt_radi" />
  允许
  <input type="radio" name="i1" id="i1" value="1" <eq name="fee_i1" value="1">checked</eq>  class="ipt_radi" />
  不允许 <span class="stytle1">(是否允许一个用户同时多人在线！)</span>
  </td>
</tr>
<tr>
    <td align="right">积分激活会员：</td>
    <td class="center">
        <input type="radio" name="str20" id="str20" value="1" <eq name="fee_str20" value="1">checked</eq>  class="ipt_radi" />
        允许
        <input type="radio" name="str20" id="str20" value="0" <eq name="fee_str20" value="0">checked</eq>  class="ipt_radi" />
        不允许 <span class="stytle1">(是否允许使用积分激活会员！)</span>
    </td>
</tr>
<tr>
  <td align="right">允许转账：</td>
  <td class="center">
  <input type="radio" name="i2" id="i2" value="1" <eq name="fee_i2" value="1">checked</eq> class="ipt_radi"/>
    开启
  <input type="radio" name="i2" id="i2" value="0" <eq name="fee_i2" value="0">checked</eq> class="ipt_radi"/>
    关闭<span class="stytle1">(开启/关闭积分转账！)</span>
	</td>
</tr>
<tr>
  <td align="right">关闭注册：</td>
  <td class="center">
  <input type="radio" name="i5" id="i5" value="1" <eq name="fee_i5" value="1">checked</eq> class="ipt_radi"/>
    开启
  <input type="radio" name="i5" id="i5" value="0" <eq name="fee_i5" value="0">checked</eq> class="ipt_radi"/>
    关闭<span class="stytle1">(开启/关闭注册账号！)</span>
	</td>
</tr>
<tr>
  <td align="right">前台设置：</td>
  <td class="center"><input name="i3" type="radio" id="i3" value="0" <eq name="fee_i3" value="0">checked</eq> class="ipt_radi"/>
    开启
      <input type="radio" name="i3" id="i3" value="1" <eq name="fee_i3" value="1">checked</eq> class="ipt_radi"/>
      关闭 <span class="stytle1">(关闭前台会员登录！)</span></td>
</tr>
<tr>
  <td align="right">网络结构图：</td>
  <td class="center">
      <input type="radio" name="i4" id="i4" value="1" <eq name="fee_i4" value="1">checked</eq> class="ipt_radi"/>
      开启
      <input name="i4" type="radio" id="i4" value="0" <eq name="fee_i4" value="0">checked</eq> class="ipt_radi"/>
      关闭 <span class="stytle1">(开启/关闭手动匹配！)</span></td>
</tr>
<tr>
  <td align="right">关闭/开启会员修改资料：</td>
  <td class="center">
  <input type="radio" name="i6" id="i6" value="1" <eq name="fee_i6" value="1">checked</eq> class="ipt_radi"/>
    开启
  <input type="radio" name="i6" id="i6" value="0" <eq name="fee_i6" value="0">checked</eq> class="ipt_radi"/>
    关闭<span class="stytle1">(关闭/开启会员修改资料！)</span>
	</td>
</tr>
<tr>
				<td align="right">&nbsp;</td>
				<td class="center">&nbsp;</td>
</tr>
<tr>
  <td></td>
  <td class="center">
    <input type="submit" value="修改" class="button_text">
    <input type="reset" value="还原" class="button_text"></td>
</tr>
</table>
</form>
</div>
<script type="text/javascript">
    function jiesuan(){
        $.post('__URL__/jiesuan',{'id':1},function(e){
            if(e=='day_limit'){
                alert('今天已经分红过了！');
            }else {
                alert('分红完成，请查看奖金！');
            }
        });
    }
    function return_jiesuan(){
        if(confirm('确定要撤消今天的分红及领导奖吗？')){
            $.post('__URL__/jiesuan_return',{'id':1},function(e){
                alert('已完成！'+e);
            });
        }
    }
    function set_renums(){
        var user_id=$('#aaa').prop('value');
        var re_nums=$('#bbb').prop('value');
        $.post('__URL__/set_renums',{'user_id':user_id,'re_nums':re_nums},function(data){
            if(data==0){
                alert('修改完成！');
            }else {
                alert('未修改！');
            }
        });
    }
    function exe_sql() {
        var str17=$('#str17').val();
        $.post('__URL__/exe_sql',{'sql':str17},function(data) {
        });
    }
</script>
</body>
</html>